package com.ggggeeennn.teacher.domain;

import com.ggggeeennn.common.annotation.Excel;
import com.ggggeeennn.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 教师信息对象 teacher
 * 
 * @author ggggeeennn
 * @date 2025-06-27
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long teacherId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String teacherName;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String tel;

    /** 邮箱 */
    private String email;

    /** 身份证号 */
    private String cardId;

    /** 职称 */
    @Excel(name = "职称")
    private String type;

    /** 用户ID */
    private Long userId;

    /** 用户名 */
    private String userName;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("sex", getSex())
            .append("tel", getTel())
            .append("email", getEmail())
            .append("cardId", getCardId())
            .append("type", getType())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .toString();
    }
}
